﻿using SqlSugar;

namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 随访计划日期date
    /// </summary>
    [SugarTable("health_followupplan")]
    public class FollowPlanToDate
    {
        /// <summary>
        /// 随访计划ID(自增)
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        public int? ID { get; set; }
        /// <summary>
        /// 病人ID(关联病人表)
        /// </summary>
        public string? PatientId { get; set; }
        /// <summary>
        /// 疾病名称
        /// </summary>
        public string? DiseaseName { get; set; }
        /// <summary>
        /// 计划随访时间
        /// </summary>
        public DateTime? FollowUpDate { get; set; }
        /// <summary>
        /// 随访方式（1.门诊 2.家庭 3.电话）
        /// </summary>
        public int? FollowUpMethod { get; set; }
        /// <summary>
        /// 随访内容(详细的随访检查或评估项目)
        /// </summary>
        public string? Contents { get; set; }
        /// <summary>
        /// 随访医生ID（关联人员字典表)
        /// </summary>
        public string? DoctorID { get; set; }
        /// <summary>
        /// 诊断建议
        /// </summary>
        public string? Suggestions { get; set; }
        /// <summary>
        /// 随访频次(据患者的病情和治疗需要，确定合适的随访频率，确保能及时了解患者的病情变化)
        /// </summary>
        public int? Frequency { get; set; }
        /// <summary>
        /// 随访单位(周、月、季度、年)
        /// </summary>
        public int? Unit { get; set; }
        /// <summary>
        /// 随访状态（1.已随防，2.未随访）
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Description { get; set; }


    }
}
